package com.jindy.module.statement.mapper;

import java.util.List;
import com.jindy.module.statement.domain.OtherExpenses;

/**
 * 收取客户其他费用Mapper接口
 *
 * @author ruoyi
 * @date 2022-10-27
 */
public interface OtherExpensesMapper
{
    /**
     * 查询收取客户其他费用
     *
     * @param id 收取客户其他费用主键
     * @return 收取客户其他费用
     */
    public OtherExpenses selectOtherExpensesById(Long id);

    /**
     * 查询收取客户其他费用列表
     *
     * @param otherExpenses 收取客户其他费用
     * @return 收取客户其他费用集合
     */
    public List<OtherExpenses> selectOtherExpensesList(OtherExpenses otherExpenses);

    /**
     * 新增收取客户其他费用
     *
     * @param otherExpenses 收取客户其他费用
     * @return 结果
     */
    public int insertOtherExpenses(OtherExpenses otherExpenses);
    public int insertOtherExpensess(List<OtherExpenses> otherExpenses);

    /**
     * 修改收取客户其他费用
     *
     * @param otherExpenses 收取客户其他费用
     * @return 结果
     */
    public int updateOtherExpenses(OtherExpenses otherExpenses);

    /**
     * 删除收取客户其他费用
     *
     * @param id 收取客户其他费用主键
     * @return 结果
     */
    public int deleteOtherExpensesById(Long id);
    public int deleteOtherExpensesByOrderId(Long orderId);

    /**
     * 批量删除收取客户其他费用
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOtherExpensesByIds(Long[] ids);
}
